package com.thinkcube.edutainment.domain.data;

import android.os.Parcel;
import android.os.Parcelable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class LessonData implements Parcelable {

	@JsonProperty("lesson_id")
	String lessonId;

	@JsonProperty("lesson_code")
	String lessonCode;

	@JsonProperty("lesson_title")
	String lessonTitle;
	@JsonProperty("lesson_description")
	String lessonDescription;

	@JsonProperty("is_lesson_free")
	String lessonFree;
	@JsonProperty("lesson_added")
	String lesson_added;
	@JsonProperty("lesson_modified")
	String lessonModified;

	@JsonProperty("lesson_price")
	String lessonPrice;

	@JsonProperty("is_lesson_purchased")
	String is_lesson_purchased;
	@JsonProperty("lesson_type")
	String lessonType;
	
	@JsonProperty("completeStatus")
	String completeStatus;
	
	

	public String getCompleteStatus() {
		return completeStatus;
	}

	public void setCompleteStatus(String completeStatus) {
		this.completeStatus = completeStatus;
	}

	public String getLessonId() {
		return this.lessonId;
	}

	public void setLessonId(String lessonId) {
		this.lessonId = lessonId;
	}

	public String getLessonCode() {
		return this.lessonCode;
	}

	public void setLessonCode(String lessonCode) {
		this.lessonCode = lessonCode;
	}

	public String getLessonTitle() {
		return this.lessonTitle;
	}

	public void setLessonTitle(String lessonTitle) {
		this.lessonTitle = lessonTitle;
	}

	public String getLessonDescription() {
		return this.lessonDescription;
	}

	public void setLessonDescription(String lessonDescription) {
		this.lessonDescription = lessonDescription;
	}

	public String getLessonFree() {
		return this.lessonFree;
	}

	public void setLessonFree(String lessonFree) {
		this.lessonFree = lessonFree;
	}

	public String getLesson_added() {
		return this.lesson_added;
	}

	public void setLesson_added(String lesson_added) {
		this.lesson_added = lesson_added;
	}

	public String getLessonModified() {
		return this.lessonModified;
	}

	public void setLessonModified(String lessonModified) {
		this.lessonModified = lessonModified;
	}

	public String getLessonPrice() {
		return this.lessonPrice;
	}

	public void setLessonPrice(String lessonPrice) {
		this.lessonPrice = lessonPrice;
	}

	public String getIs_lesson_purchased() {
		return this.is_lesson_purchased;
	}

	public void setIs_lesson_purchased(String is_lesson_purchased) {
		this.is_lesson_purchased = is_lesson_purchased;
	}

	public String getLessonType() {
		return this.lessonType;
	}

	public void setLessonType(String lessonType) {
		this.lessonType = lessonType;
	}

	protected LessonData(Parcel in) {
		lessonId = in.readString();
		lessonCode = in.readString();
		lessonTitle = in.readString();
		lessonDescription = in.readString();
		lessonFree = in.readString();
		lesson_added = in.readString();
		lessonModified = in.readString();
		lessonPrice = in.readString();
		is_lesson_purchased = in.readString();
		lessonType = in.readString();
		
		completeStatus = in.readString();
	}

	public LessonData() {
	}

	public int describeContents() {
		return 0;
	}

	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(lessonId);
		dest.writeString(lessonCode);
		dest.writeString(lessonTitle);
		dest.writeString(lessonDescription);
		dest.writeString(lessonFree);
		dest.writeString(lesson_added);
		dest.writeString(lessonModified);
		dest.writeString(lessonPrice);
		dest.writeString(is_lesson_purchased);
		dest.writeString(lessonType);
		dest.writeString(completeStatus);
		
	}

	public static final Parcelable.Creator<LessonData> CREATOR = new Parcelable.Creator<LessonData>() {
		public LessonData createFromParcel(Parcel in) {
			return new LessonData(in);
		}

		public LessonData[] newArray(int size) {
			return new LessonData[size];
		}
	};
}